#ifndef _SSB_WIFI_H_
#define _SSB_WIFI_H_
#include "esp_wifi.h"

typedef void (*SSB_wifi_on_connection_change)(int state);
typedef void (*SSB_wifi_scan_done_call_back)(int ap_num,wifi_ap_record_t *list);
void SSB_init_wifi(SSB_wifi_on_connection_change connection_change,int auto_smart_config,int auto_connect);
int SSB_is_has_wifi_configuration();
void SSB_reset_wifi_configuration();
void SSB_scan_wifi_ap(SSB_wifi_scan_done_call_back cb);
void SSB_start_smart_config();
void SSB_wifi_restart();
void SSB_set_wifi(char *ssid,char *password);
#endif